<?php
/**
 * Created by IntelliJ IDEA.
 * User: lenovo
 * Date: 2019/1/13
 * Time: 13:59
 */
class Student{
   private $name="";
   private $age="99";

   function __construct($name,$age)
   {
       $this->name=$name;
       $this->age=$age;
   }
    function __construct1()
    {

    }
    function ask(){
        echo "姓名为：".$this->name." 性别为：".$this->age;
    }
}